Fixed catkinize script to work on single packages

The catkinize script got changed (erroneously) a few versions back and was trying to work on stacks, so this fixes it to work with single packages again.