APF-1454: Added branch support to full-source plugin. Also fixed detection of basic vs. modular projects.