Ignore build dirs
Fix locate_profile - no argument
Test with and without a profile