Check for modified file status instead of ignored