well filter function is to get rid of duplicates like `os.path` im aware that jedi has a setting for that but somehow it didnt worked for me. dunno why.
as for `or []` it sneaked in on refactoring :) I'll remove that