Make ensure_application_loaded local modules without caring about a partially loaded application.