improved reading of catalog if galaxy_sample called from outside this directory
(#325)