osx: fix for repositories without osx support enabled.