add exception if environment batch file is missing

Change-Id: I3af163a15e8a012cfc0362621cc440d80a0a3f77
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>