Guard against an idea.home with spaces

This came up on Mac OS X where the IJ directory
is called `IntelliJ IDEA CE EAP.app` but it could affect users on
Windows who install into `Program Files` or such.