You do this every time this function is called - your path will contain the ultisnips path many times. Only do this once - when this file is originally loaded or the first time this function is called.