Backporting PR 72 from python-rhsm

normalize url before checking path equality
https://github.com/candlepin/python-rhsm/pull/72