Calling System.getProperty for the same key twice in a row is pretty ugly