Ensure the sd dir exists

On both tab completion and the actual function call.