added missing 'pull' require

The `pull.error` call was failing without this require