prevent dirty tree from resulting in a nice version number

I think this explains the version number Maarten was talking about...