Handle empty repoID and print error, fixes #11