Fix problem with calling #get on a resource with no sub-resource