When in synchronous mode (direct to iBooks), disable PDF transfers, as we can't update metadata in iTunes. Not sure when this started, but as of 11.0.4 it's broken.
Merge branch 'master' of https://github.com/kovidgoyal/calibre