Don't return result of YAML.load if false

reference issue [1901](https://github.com/mperham/sidekiq/issues/1901)