Strip spaces and quotes --resources arg.