Make tests pass if XDG config exists

These tests check that the XDG config is not in use but due to some mistakes in how the tests were set up, if you are actually using the XDG config path, the tests would fail. This fixes that and actually isolates the tests from the system XDG setup.

Obviously the Travis test environment isn't using the XDG config or the tests would never be passing in the first place.