Fix method name in agent
#718 - task plugin preferences are not loaded at agent side hence need to check for plugin availability through pluginManager