Prevent the download manager from being released if it was never grabbed
Added a check for invalid URLs when grabbing a download manager
Fixed relative paths in repositories when accessing via URL (versus local filesystem path)