Allow empty path argument to Repo#diff.