Making sure no exception is raised when some properties are not defined.

Previous code assumed the following properties could not be null, because they have
a default value:
- testSourceDirectory
- warSourceDirectory
- webappDirectory

In fact, it is possible to set them to null (by mistake, or intentionally)
when passing an expression containing an undefined variable. With this commit,
this case no longer raises an exception.