Added extra if condition to test whether publisher is created
Merge pull request #43 from fgaranda/master

Added extra if condition to test whether publisher is created