Ignore objects that are not files nor dirs during port dir sync