Fixed install routine if scans directory did not exist.