This is a no-op refactor change to create resolvePkgPrefix() helper method to prevent code duplication for the follow up commit. Bug: 291870956 Test: atest NetworkStaticLibTests Change-Id: I8deea97acdb793dfa076ce55f7f2c3eb0b224461