fix for error during ready_to_publish validation failure
Merge pull request #284 from wardi/master

fix for error during ready_to_publish validation failure