Multiple tiny bugfixes for subdirectories creation durin complex modules installing