[FIX] canINcludeInGoogleSitemap

It was not handling the URLs properly/parsing of the URLs, as well as missing ->owner.

Would really appreciate this being quickly patched as I need it to be working for a project.