make upgrade.php give a clue when checks fail