def _get_key_value(string):
    """Return the (key, value) as a tuple from a string."""
    key = ''
    value = ''
    try:
        key, value = string.split(': ')
    except ValueError:
        string = string.lstrip(' ')
        if string.startswith('physicaldrive'):
            fields = string.split(' ')
            key = fields[0] + ' ' + fields[1]
            value = fields[1]
        else:
            return string.strip(' '), None
    return key.strip(' '), value.strip(' ')
