bin/detect-distro: properly exit when using /etc/*{-release,_version} files