Fix issue with open_basedir

Given a user wants to install wordpress in a directory and the open_basedir restriction points to exactly this directory he never gets to see the installer. This pull-request suppresses the error (the if-statements gets executed correctly.