Fix hostname check in bashrc