Broken juliaup installation

Julia on our linux server stopped working. On some snooping around I found this weird path in the juliaup managed section of .profile:

cat .profile
[[ -r ~/.bash_profile ]] && . ~/.bash_profile


# >>> juliaup initialize >>>

# !! Contents within this block are managed by juliaup !!

case ":$PATH:" in
    *:/home/krcools/.julia/juliaup/.juliaup-backup-1YtvrL/old:*)
        ;;

    *)
        export PATH=/home/krcools/.julia/juliaup/.juliaup-backup-1YtvrL/old${PATH:+:${PATH}}
        ;;
esac

Can anyone provide some insight in how and when this path is changed to a backup location and how to recover from this?

Probably unrelated to this but I first noticed when playing around with code tunnel.