parseData: Search for prompt in 'response' only in the last packet

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>