Fix test environment creation scripts

Test environment creation scripts packaged with unit tests should print
message and exit, doing nothing.

Change-Id: I72539e7b254632069c6b7f80e5977c342ac9f4eb