i18n: Fix install crash because of error installing dept

If there is a problem installing some of the items with the system, try not
to crash simply because the error is passed into another ::create()
function.
Merge pull request #1236 from greezybacon/issue/dup-dept-install-crash

i18n: Fix install crash because of error installing dept

Reviewed-By: Peter Rotich <peter@osticket.com>