One of the sources for non framework builds are virtualenvs. Even if a virtual env is created from a framework build the virtual env is not a framework. We should document workarounds for this somewhere and point to it in the error message raised as a result of #4452
Follow up to #4452 and related to #4372