Nope, @environment in sync is optional, so we call the find_environment method there only when the environment id is present