Added a sanity check for a '/' at the end of the djatoka url