BUG-509: move snapshotCache get out of try block