Revert "Using the new project root routine"

This reverts commit dbae2735998cc2f188732eafc600666de6d6dce6.