A small bug(?) with bundles:
When you make changes to a bundle, a local copy is created in your own library. That changes the TM_BUNDLE_PATH variable, which is used by some commands to access scripts. Since these aren't copied along, those commands stop working.