Fix the panic when no running environment.
Merge pull request #806 from howbazaar/fix-status-on-non-running-env

Fix the panic when no running environment.