Prevent open_basedir warnings when tested magic file is not inside basedir