Correctly distinguish absolute URLs from paths

AN!