remove duplicated code in path initialization
implemented blacklist for --download, --repair and --check-orphans