BZ-1100655: removing unnecessary calls to System.getProperties()
(cherry picked from commit 8492afe7e42d6e91ef18a92e37317ecaa01d1764)