customizable local directory with repo

hi 

I've added feature to specify custom directory with repo in workspace.Please feel free to use this small change

regards,
Marcel