Bugfix for an IllegalStateException that occurred in the shell command because of propagated configuration items not being available. Added an explicit check.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1185044 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java
index 3bd4040..23de8fd 100644
--- a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java
+++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/ComponentImpl.java
@@ -863,7 +863,7 @@
 		addTo(properties, m_serviceProperties);
 		for (int i = 0; i < m_dependencies.size(); i++) {
 			Dependency d = (Dependency) m_dependencies.get(i);
-			if (d.isPropagated()) {
+			if (d.isPropagated() && d.isAvailable()) {
 				Dictionary dict = d.getProperties();
 				addTo(properties, dict);
 			}