Implement stronger check for correct distribution when targetting Ubuntu or Debian (i.e. make sure dist_name is correct).

I hosed a precise VM a few weeks ago because quantal was being targetted and I have a collaborator who just did the same. This should prevent that.