preventing use case failure in case the target is empty
Merge pull request #8 from goncalvesjoao/master

preventing use case failure in case the target is empty