Fix crash when cleaning project

It happens when cleaning a project that it has an incorrect configuration
mapping.

Fixes bug #20145 - On building Xamarin.Forms Shared solution, it displays
"Clean failed. Object reference not set to an instance of an object" in XS
status bar

Fixes bug #20251 - Xamarin 3: Unable to clean with 2 solutions loaded