Fix crash creating manifest when working directory doesn't have any changes