Move bail out earlier in the resolvePage method
Remove dependency on Profiler in the extension manager