Attachable resources have no 'name'; use mangled config var instead.
Merge pull request #1059 from deafbybeheading/fix-attachable-resource-pg-psql

Fix pg:psql for attachable resources