Don't reset so --hard

This was trashing the local copy, which means that we erased our generated files.

Fixes #318