fix error where grunt recurse tries to use path.join with undefined
variables