Improve project root identification customization.