Clean up ignored files when fetching

I have 'composer.lock' in my .gitignore file, and the current command leaves it there between builds.

This means that the build environment is not clean between builds, causing issues.