BUG: Make sure there is something in the list before using first

updateFileDiff was failing because changedFileList first was null.