Remove osolete code which belongs to the old shell script version of the system check.