Also install profile dependencies before creating a snapshot.