Terrorist plot foiled in Lucknow, ISIS link ruled out