Generalized repo name; revised handling of TEMP_DIR to prevent deletions of non-build files present in that dir.  TEMP_DIR must now exist