bugfix, move root check after localSetupROOT

Conflicts:

	bash/setup_area.sh
(cherry-pick 76f1f11)