Fix scan issue for gen_site (#1819)
Fix scan issue for gen_site (#1819)

* fix os.remove

* fix run cmd

* update1

* update2

* remove else

* update

* update

* test for gensite

* revert spark.py

* update

* remove

* update

intel-analytics/analytics-zoo,intel-analytics/analytics-zoo,intel-analytics/analytics-zoo