Fix runtime extensions path in new state builds

Extension paths in a freshly created state are generated using the user's state directory instead of the root package directory. Refreshing the state corrects them, but they should be generated correctly on first creation.