Refactor RepoHooks::onOutputPageBodyAttributes

Change-Id: Id32c100c60ca661d1286c66665f57533487f697c
Merge "Refactor RepoHooks::onOutputPageBodyAttributes"