Fixes bug in parameter check in SnapshotResource.getContent()