properly catch UnauthorizedAccessException during project creation

Change-Id: I81086378237b64ace61e2ae8c1e68655a1e65c26
fixed broken unit tests caused by previous changes

Change-Id: I39bb3b3b93c4b7c542da0d4ebbeda8d42eed1413