Improved git filter

Closes https://github.com/bvssvni/rust-empty/issues/149