Return empty resource_uris for DBRefs instead of raising AttributeError
Remove superfluous try:except and don't add DBRefs to cache in build_bundle