Fix ssh detection in theme