[GEOS-5782] Trying to upload a non existing file to rest config in external mode results in NPE