joinpath: handle empty "first" argument properly