bugfix

uninitialized dictionary for file that was added via addFile
check for uncommitted changes before pulling