Locate the environment lock in the hidden environment directory rather than the root of the environment.