fix for URI handling when Armory is off