Normalize the directory to make comparison possible

def _normalize_dir(string_):
    '''
    Normalize the directory to make comparison possible
    '''
    return os.path.normpath(salt.utils.stringutils.to_unicode(string_))