IDE-1355

Avoid the NullPointerException caused by project name when browing a
custom location.