Don't attempt to scale if the env doesn't exist

/cc @grobie @xla