Issue #3002655 by alexpott, johnpicozzi, nathandentzau, larowlan: Optional profile configuration can be unexpectedly recreated after being deleted (cherry picked from commit 808263b1)