Issue #2704291 by Jon Pugh: When checking if the site being verified is hostmaster, compare root and uri to the @hostmaster alias instead of just checking if a function exists.