Fix output for instance status

This is reverting back the pull request #5.