Fixes issue when RunFunction tries to run a non-registerd command.
Merge pull request #23 from chuegle/master

Fixes issue when RunFunction tries to run a non-registerd command.