bin/prepare: Fix unbound variable