Perhaps, but the problem for the Tories was that they had to choose a mayoral candidate who was perceived to be independent of a Tory government. In that respect Zac Goldsmith was the ideal candidate.
Remember Boris Johnson relied heavily on portraying himself as an independently minded Tory. And before him Ken Livingstone was seen as very independent of the then Labour government.
What appears to have really screwed Zac Goldsmith is that the Tories completely failed to learn the lesson that the UKIP Deputy Chairman learnt exactly 2 years ago – when asked why UKIP had done so badly in London, compared to the rest of England, she explained that it was because London is “educated, cultured and young”.
Don’t try to scare Londoners with bollox about scary Muslims. I try to remember that 40% (iirc) of Londoners were born overseas.