Guard against copying files or generating profile script if source database.yml does not exist