Issue #6 Node 0.10 changes, path.join doesn't accept undefined as input