added trace when cd to sourceDirectory fails