Remove duplicate existence code and redundant logging.