Great, we are always open to discussing code with fellow developers
The first line of the code you referenced states, if $cats. So if cats exist, it will loop through them and display them.
Since you stated that you have categories in BePro Listings (as opposed to post categories), then you can see that it is impossible for categories not to be shown.
We are releasing a fix today regarding this file. It is focused on removing the default checked option for those fields. I doubt that will fix your issue since nothing else will be changed and you aren’t seeing the fields. However, you are free to upgrade and see if it helps you
BePro Software Team