The license script fails if any untracked files exist in the source tree. This has tripped me up today with ctags files, stale gclient-managed files, and gclient-created conflict directories. At a minimum, the script should ignore things in https://github.com/flutter/engine/blob/master/.gitignore