Rating agencies are having poor credibility: Government sources