JPS: handle excluded and generated source roots (Android compatibility)