Added a check in library.py to prevent multiple entries in sources.xml

In reference to Issue #115