Fixed config source paths logic, added support for non-web apps