Move pathogen#infect() call to correct place