Override base directory only if option is set