Wrap smartos-only package in if statement per PR feedback