prevent null pointer exception when file types are not specified for raw push command