Correct urlparse call in basket view

Regression from merging basket form pull request.