Further tweaks to the extensions shell script

Only run python setup.py develop if the file exists. Also cd into the
directory first, as otherwise you get the following errors:

error in ckanext-spatial setup command: distribution contains no modules
or packages for namespace package 'ckanext'