LPS-33892 Extract code into a method (no logic changes)
LPS-33892 Extract more code into the same method making it more generic (no logic changes)
LPS-33892 sort
LPS-33892 Only try to add default layout set branches in check when one doesn't exist
LPS-33892 Rearrange code and delete layout set branches when they are not enabled for remote staging too
LP-33892 Generated
LPS-33892 SF