Special-case the :provided profile. Again.

Fixes #1283.