Extracting full search to its own private method, and removing the redundant extract*PayloadFrom functions.
Resolving the repository path in InfoOf instead of trying to build the
correct URL from scratch (which fails for snapshot artifacts).
Dealing with extraneous slashes in the URLs.