fixing idempotency check for the mount path