Make sure that (project root) is the first path

Authored by skalinichev.