bugfix for discovering linux hosts with recent nmap versions

this PL is linked to #1289