There are maybe 100 of such nouns exceptions to the -a rule which you will need to recognize.
Croatian masculine names. This category has the following 87 subcategories out of 87 total. ALEKSANDAR defender of man. Derived from the Slavic elements dragu meaning precious and slava meaning glory.
Below is the short list of male names for each letter of alphabet. Pribina and Slava and some pet forms of mens names that end in -a or -o eg. Wikimedia Commons has media related to Male names Subcategories.
CategorySerbo-Croatian diminutives of male given names. 53 rows Croatian form of Andrew meaning manly or masculine. Croatian form of Antonio meaning worthy of praise.
A baby born from deceit or one who was meant to be a boy but comes out a girl could be fitting of a deceitful name. Another exception appears in male names which end on -a such as Luka Nikola Matija etc. Croatian form of Andrew meaning manly or masculine.
BOGOSLAV the glory of God. Drago given name Dragoljub. Croatian form of Andrew meaning warrior or manly.
BALTAZAR Bels prince. But these are common male names in Croatian and as such are masculine. These are mens names even though some of them end in -a and many of these do not have an equivalent feminine form.