Update Request.php

_isWebsiteRoot() trow errors on localhost