Fix warning about transitionTo being deprecated
Merge pull request #3014 from ErisDS/issue-3013

Check for undefined model