Positive solutions for critical inhomogeneous elliptic problems in non-contractible domains