Simplify clean command implementation
packagebuild.py: use safe_remove_dir where applicable
packagebuild.py: _fetch_git, _fetch_archive return True if source is updated
Rework up-to-date checking