common/config: make set_prog_path() accept one argument only