Το αφεντικό is masculine, but this boss is a woman. Why shouldn't this be a feminine form?
"Το αφεντικό", as you wrote has the "το" article, so it is neuter. But, there are some professions that stay the same in masculine and feminine forms. For example ο/η γιατρός, ο/η δικαστής etc. ;)