def __expand_name(name):
  """ Expand the given name by appending .service if there is no type suffix.

  Args:
    name: The unit name
  Returns:
    The name with type suffix
  """
  expanded_name = name
  if not '.' in name:
    expanded_name = '{0}.service'.format(name)
  return expanded_name