You found a bug! We've classified it as
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
Thanks for the report! We have opened a bug in our bug tracker.
Sencha Premium Member
For those interested in a dirty workaround:
var p = Ext.ComponentQuery.query('#panel');
Thanks for taking the time to share your workaround with the community.