[workflow ui] fix state/transition edition form on existing entity. Closes #2423531
It should not return unrelated entities only in case where the entity
exists.
Also fix a deprecation warning, vocabulary values should be an
unicode string.
#! /bin/sh -e
#
if [ "$1" = remove -o "$1" = upgrade ]; then
if which install-docs >/dev/null 2>&1; then
install-docs -r cubicweb-doc
fi
fi
#DEBHELPER#
exit 0