/usr/lib/hue is not a good place to store user code. This is where the hue code lives. Create a hue home directory or using /opt might be a better option.