Fetch persisted debug key on snapshot build

Closes item:761
Merge pull request #480 from tlvince/bug/cannot-upgrade-snapshots

Fetch persisted debug key on snapshot build