Patches for patch for check_nmap to report incorrect tmp dir & more [sf#1343135] [#518]