Fix regression getting application resources in app:run