Added null check in order to avoid errors in cases when there are credentials and getPackageRevision returns null.
Commented out logging of url in order to avoid leaking basic auth credentials in logs.
Introduce params logging as suggested per code review.
Merge pull request #15 from varchev/correct-logging-of-params

Correct logging of params