BZ994250 fix

Fixes the broken implementation of BZ994250 with a new one, that uses a wrapper to encapsulate all command calls (and catches the real returnValue instead of throwing ExecuteException).