Modified List-Modules function to ignore Private modules folder.