Prevent error with rewgistering Singleton if EcomDev_UrlRewrite is not installed