Issue #3376262 by quietone, smustgrave: Remove install of book module from migration tests outside of the module (cherry picked from commit 2784ef71)