Fix crash when parsing the bumblebee.repo file

For some unknown reason, the sole baseurl address is on a new line. Accept this
as valid by fixing the data before it gets parsed as a GKeyFile.

Also add a self test to catch this kind of problem in the future.

Resolves: https://github.com/hughsie/libhif/issues/11