Fixing _getLocal to return def.resolve(undefined) if no item is found,
as opposed to rejecting the deferred.