Revert "Add helper fn to check whether the repository WD is dirty"
Revert "Add helper fn to check whether the repository WD is dirty"

This reverts commit eb378d47c2c37e04f5c4130aec023142212c6abe.

mario-kr/imag,matthiasbeyer/imag,matthiasbeyer/imag,mario-kr/imag