Add trailing slash to path

Otherwise, will ignore files such as lib/plugins-display.php etc