GH-23: ooopsie, put the check for GEM_HOME in the wrong place...