Bug fix: Don't load repositiory script when editing resources