- Move environment checks to immediately after check for running as root.
Fixes https://github.com/ausaccessfed/aasc/issues/1