Add empty dir for logs. Change execution location for git cloning and chekout.