Simplify a conditional branch when inserting scene opcodes

We use an if-elseif-else chain when add Opcode objects to the contents
of a scene.  However, the logic we execute for the initial ‘if’ and
the final ‘else’ are the same.  This eliminates that duplication.