magit-insert-stashes: work around issue in Git <1.7.10.3

Closes issue #1427.