Fixes in schemaController
Fixes in schemaController

- fixed path manipulation
- fixed error state checking

tomatell/engine,tomatell/engine,tomatell/engine,peterkacinec/registries,MaxKarel/engine,MaxKarel/engine,peterkacinec/engine,sosik/registries,peterkacinec/engine,peterkacinec/engine,peterkacinec/registries,MaxKarel/engine,sosik/registries,sosik/registries,peterkacinec/registries