Make assertion less confusing when base-url is not given