Allow base dir to be set when using a cloud repository