diff --git a/upgrade.sh b/upgrade.sh
index 6747fe9e3d13726b464542f4991880db90798091..5a92ebee0595ca888f0d34dec75e74735f225ac5 100755
--- a/upgrade.sh
+++ b/upgrade.sh
@@ -49,6 +49,9 @@ yesno_prompt() {
 }
 
 do_upgrade() {
+    if [ ! -f "$ansible_bin_path/ansible" ]; then
+      ansible_bin_path="$HOME/.local/bin"
+    fi
     echo '[Beginning upgrade]'
     playbook_path="$ansible_conf_path/playbook.yml"
     echo "[1/$total_steps] Retrieving currently installed version from $playbook_path"