fixing an issue where a subdirectory of the origin arg might be the latest 'key' found which causes an exception when reading the json data using the origin key
Merge pull request #1 from FirePub/embedded_snapshopts

fixing an issue where a subdirectory of the origin arg might be the late...