fix issue 1026 path.join throws on null param in node 0.9+

quick patch to prevent exception on mojito start.