Fix up plugin loader's URL parsing