lib/git-add.coffee: null deref on getRepo()

  * On v0.103.0, atom.project.getRepo() returns null
	added work around to ensure that dir populated
	with some path so the add code can continue.

	NOTE: should check if this is a atom bug or if
	there is some other code needed to make getRepo()
	working properly.