Fix #1101 - Properly handle a <base> without a href