Well I've given up on figuring out what's causing it for now and decided to just use chrpath --delete to get rid of it, but if anyone thinks of anything, please let me know. Thanks, Richard