checking editable pages before adding hooks

... maybe avoiding unnecessary onMyBranch calls for common roles/users.
Please verify, kind regards.