When installing the news/nzbget port, the rc.d script (sh script) does not include the bin directories for /usr/local/{s}bin. This causes some alternatively loaded tools to fail (git for instance) when called from nzbget or scripts called by nzbget. I have solved locally by adding the following into the rc script. export PATH=/usr/local/bin:/usr/local/sbin:$PATH Just making sure this is, 1) The correct way. 2) Indeed viewed as a bug. Thanks!
Fixed in https://cgit.freebsd.org/ports/commit/?id=059791e8b18030ccbe94b6e26f736d0b30930ad4 as part of the resolution of bug #256733