Added an environment sanity check to before_script