Remove ignored files from the working directory if they were stashed

Ignored files that were stashed during ```git_stash_save``` were not removed as per the stash API.

This PR removes the files and fixes the test case.