minor fixes in the PhpcrDriver.php

We should use "===" instead of "==" since it's better and faster in this case.