Fix: "Deploy Project" menu item is always disabled.

There was a typo in ad58c2bb4445567ecc349a0987bf3f8a781cc883 that caused
incorrect result of the check.

Change-Id: Ie4e6dca08892eb19d9e0e66c5252670865d17144
Reviewed-by: hjk <hjk121@nokiamail.com>