Thank you for reporting this. It indeed seems the case that osfamily="unix" also applies to Mac, so changing that (back) to os="Linux" indeed should solve this issue.
It's probably best to also remove the osfamily="mac" in the start.jboss and stop.jboss targets to avoid duplicate triggering (although this probably doesn't prevent the installer from working).
Kris