Fix NPE in CommitDialog.getFileStatus() on first commit