galaxy_status.sh: fix to code for working out if Galaxy as a whole is in an "active" state.