pip and artifacts directory checks

Change-Id: Ie759ad3564218d19a0a955087ae78000027fa836