ScriptRunner: throw exception if command not found

Otherwise, a potentially confusing NPE is issued later in the code.
Better to fail fast and clearly when the command is not found.