Commit fixes crash in Docker input plugin caused by the fact that return value might be nil when error occurs. closes #1195