Fix runtime lookup during kpm pack on Mono

- Fix framework name parsing: Mono KRE doesn't have architecture component
- Fix userprofile resolving on Mono

parent #644 and #272
This is used for mono as well? Program Files?