Make configured URL parsing more robust

Signed-off-by: Konrad Reiche <konrad.reiche@fokus.fraunhofer.de>