Returning support for nonfragment http urls.

Previous commit broke http fetches without fragments.
Properly handling g_key_file* errors.

Fixing error handling which was broken by improperly adding repoRequires key.