[#LIB-72] StringUtils.replaceSystemProperties() throws IndexOutOfBoundException