Using is_live_path() in mount_images_in_directory() to avoid redundant logic.