Fixed incorrect function called
Remove test code for admin roles
Move to use the conf/git_commit_id to track the last commit used