fix regression in bin/shell.sh

it needs to still work when no model path is supplied, too