Small bugfix in getURL function.