Refactor get_profile_dir(...).

Improve readability by reducing indentation; terminal message tweaks; allow the user to input 'yes' or 'y' instead of just 'y'.