Made bpm.sh work fine in set -u shells