Fixed controller generator in builder of type modules

Controller builder was initialized with an nonexistent path.