Fixes extension list / enable /disable issues.

Fixes `phpbrew ext` `phpbrew ext [enable|disable]` not working correctly when extension source codes and config.m4 not in it's root directory.

I think we should rtrim the slash.