bashrc: fix hostname detection