Check that GEM_HOME include '/' to prevent exception in split