CLJS-634: do not call getPath on a null value.