MDL-39979 navigation: Remove the use of an undefined variable