Remove unused commented out code from local image provider