fix provision in python 3.x (urlparse is 2.x only)