1129480: don't query envs when actkey is given