Fix in dependencies
Change pid to options.pid [optparse]
Fix functions parameters
Fic missing closing bracket
Implement urlparse to parse kojiurl