Use cwd and path corretly for exec

Change-Id: I957f5480cf5fe23fa74f01a56f370ad26338684b