Yes, I've already looked into that, but there's not much of a trace, e.g.:
2019/11/18 11:22:34.837088 build/soong/ui/build/sandbox_linux.go:86: [prebuilts/build-tools/linux-x86/bin/nsjail -H android-build -e -u nobody -g nobody -B / --disable_clone_newcgroup -- /bin/bash -c if [ $(hostname) == "android-build" ]; then echo "Android" "Success"; else echo Failure; fi]
2019/11/18 11:22:34.877084 build/soong/ui/build/path.go:105: Disallowed PATH tool "manpath" used: []string{"manpath"}
2019/11/18 11:22:34.877237 build/soong/ui/build/path.go:107: See
https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
I've a feeling that it's coming from bash itself. I've looked into the local and system profile/bashrc and anything I could think of, but I can't really pinpoint where it's coming from.