refactor(core): use getSnapshotPath()
#5076
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
getSnapshotPath()
#5076