Fix regression where gif2gfy will fail if -p is used