Fix root existence test for flickr