This commit fixes the main resources directory location so that it also works in a multi-projects setup. Fixes gh-993