Make url_for work in paster commands