Fixed so it could be used even when not in the bin/ directory

For example, now you can checkout and run
./bin/pma_projects
Even when not in the bin/ folder.
This helps integration with other scripts.