Don't attempt to `git add` ignored files (cherry picked from commit 359990dfdc) === also added a regression test that isn't upstream to be sure we're actually fixing the bug. Change-Id: I8267a3d0ece9909d8008b7435b90e7b3eee366f6
359990dfdc
I8267a3d0ece9909d8008b7435b90e7b3eee366f6