Replace invalid story keys with PROJECT_NAME-0000 pattern.