Can D-branes wrap nonrepresentable cycles?