[components] resolve app-managed component location name from the loading harness (#25833)