Refactor resolving of Freebsd package provider