Eliminate dependency on modules API, which was triggering initialization of java.util.Preferences on the server running as a user with no home dir