This is because SourceTree runs 'git reset <file>'. This works perfectly fine in every case other than before the first commit, where it reports
fatal: Failed to resolve 'HEAD' as a valid ref.
In fact in this case we should be using 'git rm --cached'. You can't use this for any other case than newly added files, since for existing files it removes them from the repository. Typical usability issues from git...