Fix the post_update.sh annoyance that can remove a home directory.

Test: ./post_update.sh
Change-Id: I0796421b6903d1f7ce185418a141c61f9be9d4a2
diff --git a/post_update.sh b/post_update.sh
index c07d65a..2b42dba 100755
--- a/post_update.sh
+++ b/post_update.sh
@@ -1,8 +1,13 @@
 #!/bin/bash
 
+# external-updater provides:
 # $1 Path to the new version.
 # $2 Path to the old version.
 
+if [ "$#" -lt 1 ]; then
+  echo 'need at least the path to the current version!'
+  exit 1
+fi
 cd $1
 
 set -e