ResolveAppRelative made virtual in the absence of HostingEnvironment