why not also check whether opts.dest_dir exists like you did above for /android