<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_kube_path():
 """Get the current config path. If the KUBECONFIG environment parameter is set, use it. If multiple paths are listed in KUBECONFIG, use the first path. """

    try:
        path = pathlib.Path(os.environ["KUBECONFIG"].split(':')[0])
    except KeyError:
        path = pathlib.Path.home().joinpath('.kube', 'config')
    return path