Fix: auto_patcher attempts to remove /tmp* when run with no args

When run with no arguments, ROOT is not yet defined, but the cleanup() function is called.  Hence auto_patcher attempts to remove /tmp*.  Added a check that $ROOT is non-zero length before attempting to delete anything.