fixes typo in method call and snapshot_repository within distribution