Fixing temporary path check so it can pass on unsupported PHP versions.