LPS-50295 Add missing empty list check and fix method call in marketplace-portlet
LPS-50295 Source formatting (calls are too deeply nested)
LPS-50295 SF