Do not try to release a download manager if it wasn't grabbed.
Allow file paths for downloads.

File paths have None for hostname, and urllib does not recognize them.
Allow entering file paths in Add Repository and Add Channel.