Correct URL when logging request status in phantomjs