Fixed behaviour of software_sources resource