def _join(head, tail):
    """Join `head` and `tail` with a dot.

    If head is ``None`` only `tail` is returned.

    """
    if head is None:
        return tail
    return '{0}.{1}'.format(head, tail)
