Make module view paths only be added if they exist.