_install_ndk assigns versions incorrectly
_install_ndk() installs the correct version but then assigns all the versions to the requested revision. Notice how the code globs all NDKs and then assigns them to config['ndk_paths'][ndk]:
This leads to a situation where a random installed NDK might be picked instead of the requested revision