functions.sh: get_profile_data{,_relative}: allow explicit selection of profiles.