[Core] Fixed issue with configuration processing introduced in dc0bf449d9f4cfa7763eeea21f8aa5f11036e7a7
The staging configuration was processed too early, introducing several bugs at runtime
Closes #257
Closes #258