Cache the snapname for later access (fix issue #2).
Merge branch 'issue_2'