fixed bug in the conf import script which did not remove trailing slash in resource URI