detect-distro.sh: tweak to detecting if it's being sourced