fix npe if configURL is null (new URL(null) throws)