Minor cleanups and print an error message of git fast-import if it fails.