[#5879] Fixed error from all_commit_ids on empty git repo

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#5879] Fixed tests failing due to new commit in test repo

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>