Dynamic Asset Sub Folder Paths based on section and. if/else or turnery operators
So this was a simple fix and not to use {% %} tags but instead to use {{ }} tags. Changing the above logic in the subdirectories filed like so seems to have resolved the issue.

{{ section == 'Company' ? slug : company.one|kebab }}/{section|kebab}