Revert "No need to check if `repository_ref` is present"
Created by: jvanbaarsen
Reverts gitlabhq/gitlabhq#9368 because of not explicit nil check
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Created by: jvanbaarsen
Reverts gitlabhq/gitlabhq#9368 because of not explicit nil check