bug #4572 missing trailing slash (import and open_basedir)

Signed-off-by: Marc Delisle <marc@infomarc.info>