Fix NPE if workspace is not created yet

Change-Id: I0c8976a8497e2059ec7b2cda3d56eb965a532765
1 file changed