Check for extender definition only if an extender is actually defined.
Check for extender definition only if an extender is actually defined.

Former-commit-id: 97a9cc50b3f8319d952c03faca3080506478936c
jolie/jolie,jolie/jolie,jolie/jolie