Handle missing profiles gracefully.