Be as sure as possible that WordPress is not under version control when deciding if we should do automatic updates.

see #22704.


git-svn-id: https://develop.svn.wordpress.org/trunk@25700 602fd350-edb4-49c9-b593-d223f7449a82