Just found this thread, because the same thing happened to me: Failed integrity check after manual upgrade Except that I did change the .htaccess on purpose.
What if I want changes to my .htaccess? I cannot configure permanent redirect to https in a different way on a particular host. How can I pass the integrity check with my customized .htaccess? Is this a stupid question?