Fixed handling of external URLs with the synapseStore flag.