Fix command line backend working directory