Index: src/tabbar.c
===================================================================
--- ./src/tabbar.c	(revision 337)
+++ ./src/tabbar.c	(working copy)
@@ -1327,7 +1327,7 @@
 		if( p.we_wordc > 1)
 		    rxvt_msg( DBG_ERROR, DBG_TABBAR,
 			    "Too many words when expanding %s\n", cwdOption );
-		else
+		else if( NOT_NULL( *p.we_wordv ) )
 		{
 		    filename = *p.we_wordv;
 
