ENYO-3525: Fix a bug that occurrs when the Phonegap Build service is disabled.

Link to the JIRA ticket: https://enyojs.atlassian.net/browse/ENYO-3525

Ready for review.

Tested on Chrome(Windows 7)
Enyo-DCO-1.1-Signed-off-by: Rafik Adiche mahmoud-rafik.adiche@hp.com