Fixed getPackagePrefix in AbstractCommand.