Factor out snapshot-repo from profiles