When passing a jail id or jail name to bectl unjail, bectl(8) fails to
unmount the boot environment after the jail is destroyed.
Currently, the jail id or jail name is passed directly to be_unmount(),
which results in be_unmount() failing.
This patch gets the boot environment name from the jail path before calling
be_unmount().