Index: trunk/xcache.c
===================================================================
--- trunk/xcache.c	(revision 954)
+++ trunk/xcache.c	(revision 955)
@@ -1546,5 +1546,5 @@
 			}
 			if (Z_TYPE(Z_OP_CONSTANT(opline->op2)) == IS_STRING) {
-				assert(!entry_php->dirpath);
+				assert(entry_php->dirpath);
 				TRACE("restored op2 constant: %s", entry_php->dirpath);
 				ZVAL_STRINGL(&Z_OP_CONSTANT(opline->op2), entry_php->dirpath, entry_php->dirpath_len, !shallow_copy);
@@ -1552,5 +1552,5 @@
 #ifdef IS_UNICODE
 			else if (Z_TYPE(Z_OP_CONSTANT(opline->op2)) == IS_UNICODE) {
-				assert(!entry_php->udirpath);
+				assert(entry_php->udirpath);
 				ZVAL_UNICODEL(&Z_OP_CONSTANT(opline->op2), entry_php->udirpath, entry_php->udirpath_len, !shallow_copy);
 			}
