Fixed some bugs. DataAccessManager cannot access the information of the repository name or the tables, at runtime, in a real scenario. refs #493