Make sure we update to the correct revision when using location