ci: fix deployment-notifier pr number parsing
Created by: jhchabran
An edge case was missing, where the merge commit is a multiline string. Fixed it by only parsing the first line and added a unit test.
Test plan
Added a unit test to cover the edge case.